package com.splic.product.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.splic.common.annotation.Excel;
import com.splic.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 用户信息对象 t_user
 * 
 * @author singe
 * @date 2022-01-04
 */
@Data
public class User extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 账号 */
    @Excel(name = "用户标识")
    private String userIdentify;

    /** 账号 */
    @Excel(name = "账号")
    private String account;

    /** 账号是否验证 */
    @Excel(name = "账号是否验证")
    private Integer accountCheck;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 邮箱是否验证 */
    @Excel(name = "邮箱是否验证")
    private Integer emailCheck;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 昵称 */
    @Excel(name = "头像")
    private String headImg;

    /** 密码 */
    @Excel(name = "密码")
    private String password;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private Integer sex;

    /** 出生日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 国家 */
    @Excel(name = "国家")
    private String country;

    /** 省编码 */
    @Excel(name = "省编码")
    private String provinceCode;

    /** 市编码 */
    @Excel(name = "市编码")
    private String cityCode;

    /** 县编码 */
    @Excel(name = "县编码")
    private String countyCode;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** imsi */
    @Excel(name = "imsi")
    private String imsi;

    /** msisdn */
    @Excel(name = "msisdn")
    private String msisdn;

    /** 运营商 */
    @Excel(name = "运营商")
    private String operator;

    /** 首次注册应用 */
    @Excel(name = "首次注册应用")
    private String firstRegisterApp;

    /** 是否黑名单 */
    @Excel(name = "是否黑名单")
    private Integer isBlacklist;

    /** 注册时间 */
    @Excel(name = "注册时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date registerTime;

    /** 三方用户id */
    @Excel(name = "三方用户id")
    private String thirdUserId;

    /** 三方用户类型 */
    @Excel(name = "三方用户类型")
    private String thirdUserType;


    /** 是否删除 */
//    @Excel(name = "是否删除")
    private Integer isDelete;

    /** 血型 */
    @Excel(name = "血型")
    private String bloodType;

//    使用APP数量
    @Excel(name = "使用APP数量")
    private Integer productNum;

//    渠道
    @Excel(name = "渠道")
    private String channel;

    /** 手机品牌 */
    @Excel(name = "手机品牌")
    private String phoneBrand;

    /** 手机型号 */
    @Excel(name = "手机型号")
    private String phoneModel;
    private String deviceIdentify;
    private String startCreateTime;
    private String endCreateTime;

//    存在绑定关系
    private Integer existBind = 0;
    //该手机号已有账号，且已绑定了其他支付宝账号
    private Boolean otherAli = false;
}
